//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class TaskSource implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Long createTime;
    private Long createUser;
    private Integer state;
    private String sourceName;
    private String dataUrl;
    private String fileUrl;
    private Long taskId;
    private Integer type;
    @TableField(
            exist = false
    )
    private String iframeUrl;
    @TableField(
            exist = false
    )
    private Integer fileType;

    public TaskSource() {
    }

    public Long getId() {
        return this.id;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Integer getState() {
        return this.state;
    }

    public String getSourceName() {
        return this.sourceName;
    }

    public String getDataUrl() {
        return this.dataUrl;
    }

    public String getFileUrl() {
        return this.fileUrl;
    }

    public Long getTaskId() {
        return this.taskId;
    }

    public Integer getType() {
        return this.type;
    }

    public String getIframeUrl() {
        return this.iframeUrl;
    }

    public Integer getFileType() {
        return this.fileType;
    }

    public TaskSource setId(final Long id) {
        this.id = id;
        return this;
    }

    public TaskSource setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public TaskSource setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public TaskSource setState(final Integer state) {
        this.state = state;
        return this;
    }

    public TaskSource setSourceName(final String sourceName) {
        this.sourceName = sourceName;
        return this;
    }

    public TaskSource setDataUrl(final String dataUrl) {
        this.dataUrl = dataUrl;
        return this;
    }

    public TaskSource setFileUrl(final String fileUrl) {
        this.fileUrl = fileUrl;
        return this;
    }

    public TaskSource setTaskId(final Long taskId) {
        this.taskId = taskId;
        return this;
    }

    public TaskSource setType(final Integer type) {
        this.type = type;
        return this;
    }

    public TaskSource setIframeUrl(final String iframeUrl) {
        this.iframeUrl = iframeUrl;
        return this;
    }

    public TaskSource setFileType(final Integer fileType) {
        this.fileType = fileType;
        return this;
    }

    public String toString() {
        return "TaskSource(id=" + this.getId() + ", createTime=" + this.getCreateTime() + ", createUser=" + this.getCreateUser() + ", state=" + this.getState() + ", sourceName=" + this.getSourceName() + ", dataUrl=" + this.getDataUrl() + ", fileUrl=" + this.getFileUrl() + ", taskId=" + this.getTaskId() + ", type=" + this.getType() + ", iframeUrl=" + this.getIframeUrl() + ", fileType=" + this.getFileType() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof TaskSource)) {
            return false;
        } else {
            TaskSource other = (TaskSource)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label143: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label143;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label143;
                    }

                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                Object this$createUser = this.getCreateUser();
                Object other$createUser = other.getCreateUser();
                if (this$createUser == null) {
                    if (other$createUser != null) {
                        return false;
                    }
                } else if (!this$createUser.equals(other$createUser)) {
                    return false;
                }

                label122: {
                    Object this$state = this.getState();
                    Object other$state = other.getState();
                    if (this$state == null) {
                        if (other$state == null) {
                            break label122;
                        }
                    } else if (this$state.equals(other$state)) {
                        break label122;
                    }

                    return false;
                }

                label115: {
                    Object this$sourceName = this.getSourceName();
                    Object other$sourceName = other.getSourceName();
                    if (this$sourceName == null) {
                        if (other$sourceName == null) {
                            break label115;
                        }
                    } else if (this$sourceName.equals(other$sourceName)) {
                        break label115;
                    }

                    return false;
                }

                Object this$dataUrl = this.getDataUrl();
                Object other$dataUrl = other.getDataUrl();
                if (this$dataUrl == null) {
                    if (other$dataUrl != null) {
                        return false;
                    }
                } else if (!this$dataUrl.equals(other$dataUrl)) {
                    return false;
                }

                Object this$fileUrl = this.getFileUrl();
                Object other$fileUrl = other.getFileUrl();
                if (this$fileUrl == null) {
                    if (other$fileUrl != null) {
                        return false;
                    }
                } else if (!this$fileUrl.equals(other$fileUrl)) {
                    return false;
                }

                label94: {
                    Object this$taskId = this.getTaskId();
                    Object other$taskId = other.getTaskId();
                    if (this$taskId == null) {
                        if (other$taskId == null) {
                            break label94;
                        }
                    } else if (this$taskId.equals(other$taskId)) {
                        break label94;
                    }

                    return false;
                }

                label87: {
                    Object this$type = this.getType();
                    Object other$type = other.getType();
                    if (this$type == null) {
                        if (other$type == null) {
                            break label87;
                        }
                    } else if (this$type.equals(other$type)) {
                        break label87;
                    }

                    return false;
                }

                Object this$iframeUrl = this.getIframeUrl();
                Object other$iframeUrl = other.getIframeUrl();
                if (this$iframeUrl == null) {
                    if (other$iframeUrl != null) {
                        return false;
                    }
                } else if (!this$iframeUrl.equals(other$iframeUrl)) {
                    return false;
                }

                Object this$fileType = this.getFileType();
                Object other$fileType = other.getFileType();
                if (this$fileType == null) {
                    if (other$fileType != null) {
                        return false;
                    }
                } else if (!this$fileType.equals(other$fileType)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof TaskSource;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $sourceName = this.getSourceName();
        result1 = result * 59 + ($sourceName == null ? 43 : $sourceName.hashCode());
        Object $dataUrl = this.getDataUrl();
        result1 = result * 59 + ($dataUrl == null ? 43 : $dataUrl.hashCode());
        Object $fileUrl = this.getFileUrl();
        result1 = result * 59 + ($fileUrl == null ? 43 : $fileUrl.hashCode());
        Object $taskId = this.getTaskId();
        result1 = result * 59 + ($taskId == null ? 43 : $taskId.hashCode());
        Object $type = this.getType();
        result1 = result * 59 + ($type == null ? 43 : $type.hashCode());
        Object $iframeUrl = this.getIframeUrl();
        result1 = result * 59 + ($iframeUrl == null ? 43 : $iframeUrl.hashCode());
        Object $fileType = this.getFileType();
        result1 = result * 59 + ($fileType == null ? 43 : $fileType.hashCode());
        return result1;
    }
}
